
package usyd.comp5348;

import javax.ejb.Local;
import usyd.comp5348.Delivery;


/**
 * This is the business interface for Delivery enterprise bean.
 */
@Local
public interface DeliveryLocal {
    int createDelivery(DeliveryInfo delivery) throws DeliveryException;

    void modifyDelivery(DeliveryInfo delivery) throws DeliveryException;

    void deleteDelivery(int id) throws DeliveryException;

    void submitDelivery(int id) throws DeliveryException;

    DeliveryInfo getDeliveryById(int id) throws DeliveryException;
    
}
